* {
  margin: 0;
  padding: 0;
  list-style: none;
  border: none;
}

html,
body {
  font-size: 17px;
}

body {
  background: #e3dede;
}

.header {
  width: 100%;
  position: fixed;
  top: 0;
  height: 4.2rem;
  background-color: black;
  box-shadow: 0 2px 10px 3px #000;
  color: white;
  display: flex;
  z-index: 3;
}

.header > div {
  display: flex;
  /* border: 1px solid red; */
}

.header ul {
  display: flex;
}

.header .logo {
  flex: 1;
  font-size: 10px;
  margin: 0 1%;
  min-width: 9.4rem;
}

.header .logo h1 {
  font-size: 1.5rem;
  display: flex;
  align-items: flex-end;
  padding-bottom: 0.3rem;
}

.header .logo img {
  height: 80%;
}

.header .menu {
  flex: 5;
}

.header .menu ul {
  width: 100%;
  /* border: 1px solid red; */
}

.header .menu ul li {
  /* border: 1px solid red; */
  display: flex;
  flex: 1;
  justify-items: center;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.header .menu ul li:hover {
  background: #625f5f;
  transition: all 600ms linear 0.1s;
}

.header .menu ul li img {
  height: 20px;
}

.header .side {
  flex: 3;
  margin: 0 2%;
  display: flex;
  justify-content: center;
  max-width: 23.125rem;
}

.side-menu {
  display: none;
}

.header .side ul {
  /* border: 1px solid red; */
  width: 100%;
  margin: 0 3%;
  height: 1.1rem;
  color: #bfbfbf;
  background: #808080;
  border-bottom-left-radius: 80px;
  border-bottom-right-radius: 80px;
  padding: 0 1rem;
  font-size: 0.6rem;
  justify-content: center;
}

.header .side ul li {
  cursor: pointer;
  transition: 0.5s;
  display: flex;
  justify-content: center;
  margin: 0 1%;
}

.header .side ul li:hover {
  color: white;
}

.main {
  /* border: 1px solid red; */
  margin: 5.6rem auto 0 auto;
  width: 88vw;
  max-width: 1200px;
}

.show {
  display: flex;
  color: white;
}

.show h4 {
  font-size: 1rem;
  color: #000;
  line-height: 1.5rem;
}

.show img {
  width: 100%;
  height: 90%;
  border-radius: 5px;
  box-shadow: 0px 0px 20px #000;
}

.new {
  flex: 6;
  position: relative;
}

.new p {
  position: absolute;
  left: 3%;
}

.new p:nth-child(3) {
  bottom: 18%;
  font-size: 0.7rem;
}

.new p:nth-child(4) {
  bottom: 11%;
  font-size: 0.8rem;
}

.new > div {
  position: absolute;
  right: 3%;
  bottom: 8%;
  font-size: 0.9rem;
  border: 1px solid white;
  padding: 0 0.3rem;
  cursor: pointer;
  transition: 0.5s;
}

.new > div:hover {
  color: #000;
  background-color: white;
}

.preferential {
  flex: 2;
  margin-left: 2%;
  position: relative;
}

.preferential p {
  position: absolute;
  left: 3%;
}

.preferential p:nth-child(3) {
  bottom: 15%;
  font-size: 0.8rem;
}

.preferential p:nth-child(4) {
  font-size: 0.5rem;
  bottom: 10%;
}

.list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.list dl {
  margin: 0.5rem;
  font-size: 1rem;
  min-width: 160px;
  max-width: 100%;
  /* border: 1px solid red; */
  box-shadow: 0 0 10px #000;
  border-radius: 5px;
  overflow: hidden;
  background-color: #e1e1e1;
}

.list dl:hover {
  box-shadow: 5px 5px 10px 5px #000;
  transition: all 600ms ease;
}

.list dl dt img {
  height: 70%;
  width: 100%;
}

.list-item_title {
  font-weight: bold;
  text-indent: 0.2rem;
}

.list dl dd:nth-child(3) {
  text-align: right;
  padding: 0.3rem;
}

.list span {
  background-color: #444444;
  color: #e1e1e1;
  padding: 0.2rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.8rem;
}

.list a {
  background-color: #282d41;
  border-radius: 5px;
  color: #ffffff;
  text-decoration: none;
  padding: 0.2rem;
  font-size: 0.8rem;
  transition: 0.5s;
}

.list a:hover {
  background-color: #ffd700;
}

.content-nav {
  margin: 0.8rem 0;
}

.content-nav ul {
  display: flex;
}

.content-nav ul li {
  /* border: 1px solid red; */
  flex: 1;
  color: #808080;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 15px;
  overflow: hidden;
}

.content-nav ul li a {
  text-decoration: none;
  color: inherit;
  flex: 1;
  padding: 5px;
}

.content-nav ul li a:hover {
  background-color: #474644;
  box-shadow: -3px 5px 10px #808080;
  transition: all 600ms linear 0s;
  color: #ffffff;
}

/* 手机 */

@media all and (max-width: 330px) {
  html {
    font-size: 10px;
  }
  .header .logo {
    margin: 0;
  }
  .header .logo h1 {
    font-size: 1rem;
  }
}

/* 平板 */

@media all and (max-width: 730px) {
  html {
    font-size: 13px;
  }
  .header .menu span {
    display: none;
  }
  .header .side {
    flex: 1;
    margin-right: 2%;
  }
  .header .side ul {
    display: block;
    width: 0;
    height: 2.2rem;
    transition: 0.5s;
    overflow: hidden;
  }
  .header .side ul:hover {
    height: 8rem;
  }
  .header .side ul li {
    margin: 0.33rem 0 0.7rem 0;
  }
  .header .side ul li:nth-child(1) {
    display: flex !important;
  }
  .header .side ul li span {
    display: none;
  }
  .main {
    width: 90vw;
  }
  .preferential {
    display: none;
  }
}
